const DATE_UNIT = { DAY: 'DAY', HOUR: 'HOUR', MINUTE: 'MINUTE', SECOND: 'SECOND' };
module.exports = {
  DATE_UNIT,
  DATE_BASE: {
    [DATE_UNIT.DAY]: 864e5,
    [DATE_UNIT.HOUR]: 36e5,
    [DATE_UNIT.MINUTE]: 6e4,
    [DATE_UNIT.SECOND]: 1e3
  },
  DATE_FORMAT_DEFAULT: 'yyyy-MM-dd HH:mm:ss',
  MODE: { NORMAL: 1, SIMPLE: 2 },
  TRIM_TYPE: { ALL: 1, FRONT_REAR: 2, FRONT: 3, REAR: 4 },
  UUID_TYPE: { NORMAL: 1, FAST: 2, COMPACT: 3 },
  CHARS: '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split(''),
  DATA_TYPE: {
    Object: 'Object',
    Array: 'Array',
    Number: 'Number',
    Null: 'Null',
    Undefined: 'Undefined',
    Function: 'Function',
    String: 'String',
    Boolean: 'Boolean',
    Set: 'Set',
    Map: 'Map',
    Symbol: 'Symbol',
    Date: 'Date',
    Math: 'Math',
    JSON: 'JSON',
    RegExp: 'RegExp',
    Error: 'Error',
    WeakMap: 'WeakMap',
    WeakSet: 'WeakSet',
    HTMLDivElement: 'HTMLDivElement',
    BigInt: 'BigInt'
  }
};
